<template>
    <footer id="footer">
		<ul>
			<router-link tag="li" to="/movie">
				<i class="iconfont icon-dianying"></i>
				<p>电影</p>
			</router-link>
			<router-link  tag="li" to="/cinema">
				<i class="iconfont icon-yingyuan"></i>
				<p>影院</p>
			</router-link>
			<router-link tag="li" to="/mine">
				<i class="iconfont icon-wode"></i>
				<p>我的</p>
			</router-link>
		</ul>
	</footer>
</template>

<script>
export default {
    name:"TabBar"
}
</script>

<style scoped lang="scss">
#footer{
	width: 100%;
	height: 50px;
	position: fixed;
	bottom: 0;
	left: 0;
	border-top: 2px #ebe8e3 solid;
	background: white;
	ul{
		display: flex;
		align-items: center;
		height: 50px;
		text-align: center;
		li{
			flex: 1;
			height: 40px;
		}
		.router-link-active{color: #f03d37;}
		i{font-size: 20px;}
		p{font-size: 12px;line-height: 18px;}
	}
}
</style>